package com.yzh.wanandroid.vm

import android.app.Application
import androidx.paging.Pager
import androidx.paging.PagingConfig
import com.yzh.wanandroid.base.BaseFragmentViewModel
import com.yzh.wanandroid.repository.datasource.CollectRepository

class CollectionFragmentVm(application: Application) : BaseFragmentViewModel(application) {


    fun getData() = Pager(PagingConfig(pageSize = 1)) {
        CollectRepository()
    }.flow
}